﻿using BlazorApp3.Client.Application.Services;

namespace BlazorApp3.Client.Services;

public static class DependencyInjectionExtension
{
    public static IServiceCollection AddPresentationServices(
        this IServiceCollection services,
        IConfiguration config, string baseUrl)
    {
        services.AddSingleton<IUrls>(new Urls(baseUrl));

        return services;
    }
}